// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import vueRouter from "vue-router"
import {routes} from "./router"
import Store from "./vuex"

Vue.config.productionTip = false

Vue.use(vueRouter);

const router=new vueRouter({
  routes:routes,
  mode:'history'
})
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  Store,
  components: { App },
  template: '<App/>'
})
